//
//  YDInquiryResultReferenceView.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2018/3/2.
//  Copyright © 2018年 LK-IOS. All rights reserved.
//

#import <UIKit/UIKit.h>

//显示数据类型
typedef NS_ENUM(NSUInteger, SYInquiryResultReferenceClickStyle) {
    ReferenceViewXuZhi,//0   deafault
    ReferenceViewHeZuo,//1
    ReferenceViewRenGou,//2
};
@class YDInquiryResultReferenceView;

@protocol SYInquiryResultReferenceViewDelegate <NSObject>

@optional

/**
 */
-(void)inquiryResultReferenceView:(YDInquiryResultReferenceView *)referenceView ClickStyle:(SYInquiryResultReferenceClickStyle)style;

@end

@interface YDInquiryResultReferenceView : UIView


@property (nonatomic , weak)id<SYInquiryResultReferenceViewDelegate>delegate;

@property (nonatomic , copy) NSString *nominalPrincipal;//名义本金
@property (nonatomic , copy) NSString *referenceRate;//询价名义本金比例

+(instancetype)initInquiryResultReferenceViewWithReferenceRate:(NSString *)referenceRate NominalPrincipal:(NSString *)nominalPrincipal;


@end
